<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <link href="/Show/Admin/Public/css/news.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="/Show/Admin/Public/ckeditor/ckeditor.js"></script>
    <title>用户修改</title>
  </head>
  <body>
      <a href="{$smarty.const.__CONTROLLER__}/showlist">[返回]</a>
    <form action="{$smarty.const.__SELF__}" method="post">
    <div class="mainbox">
          <div class="title">&nbsp;&nbsp;用户修改</div>
          <div class="tablebox">
            <table class="table" border="0">
              <tr>
                <td class="tdl">ID<font color="red">*</font></td>
                <td class="tdr">
                    <input type="text" value="{$user.user_id}" disabled="">
                    <input type="hidden" name="user_id" value="{$user.user_id}">
                    <input type="hidden" name="infor_id" value="{$infor.infor_id}">
                </td>
              </tr>
              <tr>
                <td class="tdl">用户名<font color="red">*</font></td>
                <td class="tdr">
                    <input type="text" name="user_name" value="{$user.user_name}" disabled="">
                    <input type="hidden" name="user_name" value="{$user.user_name}">
                </td>
              </tr>
              <tr>
                <td class="tdl">电子邮箱</td>
                <td class="tdr">
                    <input type="text" name="infor_email" value="{$infor.infor_email}">
                    可不填
                </td>
              </tr>
              <tr>
                <td class="tdl">联系电话</td>
                <td class="tdr">
                    <input type="text" name="infor_tel" value="{$infor.infor_tel}">
                </td>
              </tr>
              <tr>
                <td class="tdl">地址</td>
                <td class="tdr">
                    <input type="text" name="infor_address" value="{$infor.infor_address}">
                    可不填
                </td>
              </tr>
              <tr>
                <td class="tdl">角色<font color="red">*</font></td>
                <td class="tdr">
                    <select name="user_role_id">
                        {section name=n loop=$allrole}
                        <option value="{$allrole[n].role_id}" {if $allrole[n].role_id==$role.role_id} selected="selected" {/if} >{$allrole[n].role_name}</option>
                        {/section}
                    </select>
                </td>
              </tr>
              <tr>
                <td class="tdl">会员状态</td>
                <td class="tdr">
                    <select name="user_state">
                        <option value="0" {if $user.user_state==0} selected="selected" {/if}>待审核</option>
                        <option value="1" {if $user.user_state==1} selected="selected" {/if}>正常</option>
                    </select>
                </td>
              </tr>
              <tr>
                <td class="tdr sub" colspan="2">
                  <input type="submit" name="sub" value="修改">
                  <input id="reset" type="reset"  value="重置">
                </td>
              </tr>
            </table>
          </div>
    </div>
    </form>
  </body>
</html>